/**
 * @file
 */

#include <cstdint>
#include "mocha/imported_graphics_plugin.hpp"

namespace mocha { namespace graphics {
imported_graphics_plugin::imported_graphics_plugin(mocha_c_graphics_plugin* object, mocha_plugin_destroy_func_t destroy): imported_object<mocha_c_graphics_plugin>(object, destroy) {
}
imported_graphics_plugin::~imported_graphics_plugin() {
}
const plugin_char_t* imported_graphics_plugin::type_name() const {
	return unadapted()->type_name(unadapted());
}
std::int32_t imported_graphics_plugin::capabilities(graphics_caps& caps) const {
	return unadapted()->capabilities(unadapted(), &caps);
}
std::int32_t imported_graphics_plugin::open_display_mode(std::uint32_t width, std::uint32_t height, bool full) {
	return unadapted()->open_display_mode(unadapted(), width, height, static_cast<std::int8_t>(full));
}
std::int32_t imported_graphics_plugin::swap_buffers() {
	return unadapted()->swap_buffers(unadapted());
}
std::int32_t imported_graphics_plugin::clear_back_buffer(rgba_t cc) {
	return unadapted()->clear_back_buffer(unadapted(), cc);
}
}}

